package restful_apis.binder_inject;

import org.glassfish.jersey.server.ResourceConfig;

/**
 * Created by julianzliu on 5/3/2017.
 */

/*
http://stackoverflow.com/questions/16216759/dependency-injection-with-jersey-2-0
 */

public class MyApplication extends ResourceConfig {
    public MyApplication() {
        register(new MyApplicationBinder());
        packages(true, "restful_apis");
    }
}